import { ref } from "vue";
import service from "../index.js";

const medicalApi = {
    //查询所有的护工
    selectAll(serviceId){
        const params = {
            serviceId: serviceId
        };
        return service.get('/user/medical',{params});
    },
    //查询某一个护工
    selectByMid(mid){
        return service.get(`/user/medical/${mid}`)
    },
    
}
export default medicalApi;